getNonCategoryFromTxn

Return the non-category account from a transaction. If there are only category accounts on both sides of the transaction, or if it is in a category account with more than one split, return null.

Return

The non-category account for the transaction, or null.

Parameters

txn

The transaction to check.